<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>首页</title>
    <link rel="stylesheet" th:href="@{/static/bootstrap/css/bootstrap.min.css}"/>
</head>
<body>
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
    <div class="m-auto clearfix" style="width: 90%;">
        <a class="navbar-brand" href="#">Company Name</a>
        <div class="dropdown float-right">
            <a class="dropdown-toggle text-light nav-link" data-toggle="dropdown" th:text="${admin.name}" href="#" role="button" aria-haspopup="true" aria-expanded="true">管理员</a>
            <div class="dropdown-menu">
                <a class="dropdown-item" href="#">个人中心</a>
                <a class="dropdown-item" href="#">系统设置</a>
                <a class="dropdown-item" href="#">注销登录</a>
            </div>
        </div>
    </div>
</nav>
<div class="container-fluid">
    <div class="row min-vh-100">
        <nav class="bg-secondary col-md-2 sidebar">
            <ul class="nav flex-column pt-3">
                <li class="nav-item bg-info">
                    <a class="nav-link text-white" th:href="@{/memberList}" target="content">成员管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="#" target="wrapper">部门管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="#" target="wrapper">职务管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="#" target="wrapper">管理员</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="#" target="wrapper">系统管理</a>
                </li>
            </ul>
        </nav>
        <div class="bg-light col-md-10">
            <div class="embed-responsive embed-responsive-16by9">
                <iframe class="embed-responsive-item" name="content" allowfullscreen></iframe>
            </div>
        </div>
    </div>
</div>
<script th:src="@{/static/js/jquery-3.5.1.min.js}"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
<script th:src="@{/static/bootstrap/js/bootstrap.min.js}"></script>
</body>
</html>